<div class="detail-num detail_warp">
  {foreach $list as $k=>$v}
  {$count = $v.property_value|count}
    <input type="hidden" name="property{$v.id}" class="property{$v.id}" value="{if $count == 1}{$v.property_value.0.id}{/if}">
    <div class="detail-list detail_box p js_skuPropertyGroup property{$v.id}" data-property_id="{$v.id}">
      <span>{$v.title}：</span>
      <div class="detail_model">
      {foreach $v.property_value as $k1=>$v1}
      {$check_property = goods_helper::check_property($goods_id, $v1.id)}
        <a href="javascript:void(0);" class="{if $check_property == 0}unable{elseif $count == 1}curr{/if} {if $v1.icon}js_icon{/if} js_sku js_sku{$v.id}" data-value="{$v1.tmp_value}" data-property_value_id="{$v1.id}" {if $v1.icon}data-list_icon="{_image($v1.icon, 'list')}" data-big_icon="{_image($v1.icon, 'big')}"{/if}>
          {* {if $v1.icon}
            <image src="{_image($v1.icon, 'small')}">
          {else}
            {$v1.tmp_value}
          {/if} *}
          {$v1.tmp_value}
        </a>
      {/foreach}
      </div>
    </div>
  {/foreach}
  {if !$is_promotion}
    <div class="detail-add">
      <span>数量：</span>
      <div class="detail-edit">
        <a href="javascript:void(0);" class="sub">-</a>
        <input type="text" class="jsNum js_skuNum" value="1"/>
        <a href="javascript:void(0);" class="add">+</a>
      </div>
    </div>
  {else}
  <input type="hidden" class="jsNum js_skuNum" value="1"/>
  {/if}
  

  </div>
</div>
<!--detail-num end-->